﻿.el-image {
  border-radius: 2px;
}

.el-image-viewer__actions__inner > [class^=el-icon-] {
  cursor: pointer;
}

.el-button * {
  pointer-events: none;
}

.el-message-box {
  min-width: 0;
  width: min(calc(100vw - 35px), 400px);
}

.el-message {
  min-width: 0;
  width: min(calc(100vw - 35px), 400px);
}

.el-select-dropdown__item {
  max-width: min(calc(100vw - 35px), 400px);
}

.el-popover {
  min-width: 0;
}

.el-tag {
  margin: 0 2px;
}

.el-drawer__wrapper {
  [client]:not([fullscreen]) & {
    top: 30px;
  }

  .el-drawer {
    border-radius: 10px;
  }
}

.el-scrollbar {
  > .el-scrollbar__bar {
    opacity: 1 !important;
  }
}

.el-scrollbar__wrap:not(.el-select-dropdown__wrap) {
  overflow-x: hidden;
}

body[mobile] .el-scrollbar__bar {
  display: none;
}

body:not([portable]) .el-drawer__wrapper {
  padding: 10px;
  pointer-events: none;

  .el-drawer {
    pointer-events: auto;
  }
}

body[mobile] .el-table__body td {
  background-color: transparent !important;
}
